package com.cnfangmao.masterdata.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 主数据元数据
 * </p>
 *
 * @author chenxd
 * @since 2020-04-14
 */
@TableName("t_basic_data_metadata")
public class BasicDataMetadata implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主数据元数据ID
     */
    @TableId("metadata_id")
    private String metadataId;
    /**
     * 主数据元数据编码
     */
    @TableField("metadata_code")
    private String metadataCode;
    /**
     * 主数据元数据名称
     */
    @TableField("metadata_name")
    private String metadataName;
    /**
     * 对应的物理表名
     */
    @TableField("physics_table")
    private String physicsTable;
    /**
     * 菜单名
     */
    private String menu;
    /**
     * 菜单链接
     */
    @TableField("menu_link")
    private String menuLink;
    /**
     * 菜单图标
     */
    @TableField("menu_ico")
    private String menuIco;
    /**
     * 主数据图标
     */
    @TableField("metadata_ico")
    private String metadataIco;
    /**
     * Zookeeper节点路径
     */
    @TableField("zookeeper_path")
    private String zookeeperPath;
    /**
     * 描述
     */
    private String description;
    /**
     * 最新版本号
     */
    @TableField("last_version")
    private String lastVersion;
    /**
     * 最后一个主数据实例Id
     */
    @TableField("instance_id")
    private Integer instanceId;
    /**
     * 创建时间
     */
    @TableField("created_on")
    private Date createdOn;
    /**
     * 创建人
     */
    @TableField("created_by")
    private String createdBy;
    /**
     * 修改时间
     */
    @TableField("modified_on")
    private Date modifiedOn;
    /**
     * 修改人
     */
    @TableField("modified_by")
    private String modifiedBy;


    public String getMetadataId() {
        return metadataId;
    }

    public void setMetadataId(String metadataId) {
        this.metadataId = metadataId;
    }

    public String getMetadataCode() {
        return metadataCode;
    }

    public void setMetadataCode(String metadataCode) {
        this.metadataCode = metadataCode;
    }

    public String getMetadataName() {
        return metadataName;
    }

    public void setMetadataName(String metadataName) {
        this.metadataName = metadataName;
    }

    public String getPhysicsTable() {
        return physicsTable;
    }

    public void setPhysicsTable(String physicsTable) {
        this.physicsTable = physicsTable;
    }

    public String getMenu() {
        return menu;
    }

    public void setMenu(String menu) {
        this.menu = menu;
    }

    public String getMenuLink() {
        return menuLink;
    }

    public void setMenuLink(String menuLink) {
        this.menuLink = menuLink;
    }

    public String getMenuIco() {
        return menuIco;
    }

    public void setMenuIco(String menuIco) {
        this.menuIco = menuIco;
    }

    public String getMetadataIco() {
        return metadataIco;
    }

    public void setMetadataIco(String metadataIco) {
        this.metadataIco = metadataIco;
    }

    public String getZookeeperPath() {
        return zookeeperPath;
    }

    public void setZookeeperPath(String zookeeperPath) {
        this.zookeeperPath = zookeeperPath;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getLastVersion() {
        return lastVersion;
    }

    public void setLastVersion(String lastVersion) {
        this.lastVersion = lastVersion;
    }

    public Integer getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(Integer instanceId) {
        this.instanceId = instanceId;
    }

    public Date getCreatedOn() {
        return createdOn;
    }

    public void setCreatedOn(Date createdOn) {
        this.createdOn = createdOn;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getModifiedOn() {
        return modifiedOn;
    }

    public void setModifiedOn(Date modifiedOn) {
        this.modifiedOn = modifiedOn;
    }

    public String getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(String modifiedBy) {
        this.modifiedBy = modifiedBy;
    }

    @Override
    public String toString() {
        return "BasicDataMetadata{" +
        "metadataId=" + metadataId +
        ", metadataCode=" + metadataCode +
        ", metadataName=" + metadataName +
        ", physicsTable=" + physicsTable +
        ", menu=" + menu +
        ", menuLink=" + menuLink +
        ", menuIco=" + menuIco +
        ", metadataIco=" + metadataIco +
        ", zookeeperPath=" + zookeeperPath +
        ", description=" + description +
        ", lastVersion=" + lastVersion +
        ", instanceId=" + instanceId +
        ", createdOn=" + createdOn +
        ", createdBy=" + createdBy +
        ", modifiedOn=" + modifiedOn +
        ", modifiedBy=" + modifiedBy +
        "}";
    }
}
